package com.be.beadmin.quality.dto.output;


import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ContentFontStyle;
import com.alibaba.excel.annotation.write.style.HeadFontStyle;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
@HeadFontStyle(fontName = "Microsoft YaHei",fontHeightInPoints = 12)
@ContentFontStyle(fontName = "Microsoft YaHei",fontHeightInPoints = 12)
public class InspectionTaskExcelEx {
    @ExcelProperty("项目名称")
    private String projectName;
    @ExcelProperty("项目编号")
    private String projectCode;
    @ExcelProperty("当前批次")
    private Integer currentBatch;
    @ExcelProperty("工单编号")
    private String wo;
    @ExcelProperty("柜体编号")
    private String batchProductCode;
    @ExcelProperty("模板名称")
    private String templateName;
    @ExcelProperty("完成人员")
    private String finisher;
    @ExcelProperty("任务状态")
    private Integer state;
    @ExcelProperty("创建日期")
    @JsonFormat(
            pattern = "yyyy-MM-dd",
            timezone = "GMT+8"
    )
    private Date createTime;
    @ExcelProperty("创建人")
    private String createName;
//    @ExcelProperty("入厂检验Id")
//    private String productQualityId;
//    @ExcelProperty("检验结果")
//    private int inspection;
//    @ExcelProperty("批次计划Id")
//    private String batchPlanId;
//    @ExcelProperty("批次总数")
//    private Integer batchCount;
//    @ExcelProperty("工序Id")
//    private String processId;
//    @ExcelProperty("完成时间")
//    private Date finishedTime;
//    @ExcelProperty("项目ID")
//    private String infoId;
//    @ExcelProperty("检验表模板Id")
//    private String inspectionTemplateId;
//    @ExcelProperty("检验员")
//    private String inspector;
//    @ExcelProperty("备注")
//    private String memo;
//    @ExcelProperty("检验任务类型")
//    private String type;
//    @ExcelProperty("检验时间")
//    private Date inspectTime;
}
